<template>
    <div>
        <el-descriptions class="margin-top" :column="3" :size="size" border>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-user"></i>
                    名字
                </template>
                {{informations[0].name}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-link"></i>
                    性别
                </template>
                {{informations[0].sex}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-star-off"></i>
                    年龄
                </template>
                {{informations[0].age}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-s-marketing"></i>
                    学历
                </template>
                {{informations[0].education}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-menu"></i>
                    毕业学校
                </template>
                {{informations[0].shcool}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-s-tools"></i>
                    专业
                </template>
                {{informations[0].major}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-mobile-phone"></i>
                    手机号
                </template>
                {{informations[0].phone}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-s-promotion"></i>
                    邮箱
                </template>
                {{informations[0].phone}}
            </el-descriptions-item>
            <el-descriptions-item>
            <template slot="label">
                <i class="el-icon-location-outline"></i>
                家庭地址
            </template>
            {{informations[0].address}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-user-solid"></i>
                    联系人
                </template>
                {{informations[0].contact}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-phone"></i>
                    联系人电话
                </template>
                {{informations[0].telephone}}
            </el-descriptions-item>
            <el-descriptions-item>
                <template slot="label">
                    <i class="el-icon-office-building"></i>
                    学校
                </template>
                {{informations[0].shcool}}
            </el-descriptions-item>
        </el-descriptions>
    </div>
</template>
<script>
    export default {
        name: 'PersonInfo',
        data() {
            return {
                size: '',
                informations: [
                    {
                        name: '潘定道',
                        sex: '男',
                        age: 22,
                        phone: '13558153154',
                        email: '2802701309@qq.com',
                        education: '本科',
                        shcool: '河池学院',
                        major: '软件工程',
                        address: '广西玉林市博白县菱角镇石柳村长春队071号',
                        contact: '潘武和',
                        telephone: '13627850459'
                    }
                ]
            }
        },
    }
</script>
<style>

</style>